export class PermissionServiceData {
    public static get getPermit() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
                folderId: 'folderId',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url: '/accounts/accountId/projects/projectId/folders/folderId/privileges',
            },
        };
    }
    public static get getFolderPermit() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
                folderId: 'folderId',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url: '/accounts/accountId/projects/projectId/folders/folderId/privileges/me/info',
            },
        };
    }
    public static get getFilePermit() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
                fileId: 'fileId',
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                url: '/accounts/accountId/projects/projectId/files/fileId/privileges/me/info',
            },
        };
    }
    public static get postPermit() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
                folderId: 'folderId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/accounts/accountId/projects/projectId/folders/folderId/privileges',
            },
        };
    }
    public static get putPermit() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
                folderId: 'folderId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/accounts/accountId/projects/projectId/folders/folderId/privileges',
            },
        };
    }
    public static get deletePermit() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
                folderId: 'folderId',
                privilegeId: 'privilegeId',
            },
            output: {
                config: {
                    data: undefined,
                    headers: {Authorization: ''},
                    onUploadProgress: undefined,
                    params: {},
                    timeout: 60,
                },
                url: '/accounts/accountId/projects/projectId/folders/folderId/privileges/privilegeId',
            },
        };
    }
    public static get putLocking() {
        return {
            input: {
                accountId: 'accountId',
                projectId: 'projectId',
                fileId: 'fileId',
                data: {
                    testData: 'testData',
                },
            },
            output: {
                config: {headers: {Authorization: ''}, onUploadProgress: undefined, params: {}, timeout: 60},
                data: {testData: 'testData'},
                url: '/accounts/accountId/projects/projectId/files/fileId/locking',
            },
        };
    }
}
